#ifndef COMMENT_H
#define COMMENT_H

#include <QWidget>
#include <QSqlQuery>//数据库执行类
#include <QLabel>
#include <QPushButton>
namespace Ui {
class comment;
}

class comment : public QWidget
{
    Q_OBJECT

public:
    explicit comment(QWidget *parent = nullptr);
    ~comment();
private slots:
    void on_pb_SetComment_clicked();
    //void handleButtonClick();


private:
    Ui::comment *ui;
    QSqlDatabase db;
    QLabel *ui_label_SetComment;
    QPushButton *ui_pb_SetComment;
};

#endif // COMMENT_H
